import request from '@/utils/request'

// 查询垃圾申报量统计列表
export function listApplyreport(query) {
  return request({
    url: '/report/applyreport/list',
    method: 'get',
    params: query
  })
}

// 查询垃圾申报量统计详细
export function getApplyreport(id) {
  return request({
    url: '/report/applyreport/' + id,
    method: 'get'
  })
}

// 新增垃圾申报量统计
export function addApplyreport(data) {
  return request({
    url: '/report/applyreport',
    method: 'post',
    data: data
  })
}

// 修改垃圾申报量统计
export function updateApplyreport(data) {
  return request({
    url: '/report/applyreport',
    method: 'put',
    data: data
  })
}

// 删除垃圾申报量统计
export function delApplyreport(id) {
  return request({
    url: '/report/applyreport/' + id,
    method: 'delete'
  })
}
